<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html; charset=utf-8"%>
<c:set var="ctx" scope="page" value="${pageContext.servletContext.contextPath}"/>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>数据 - AdminLTE2定制版 | 密码更改</title>
    <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
    <link rel="stylesheet" href="${ctx}/plugins/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="${ctx}/plugins/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="${ctx}/plugins/ionicons/css/ionicons.min.css">
    <link rel="stylesheet" href="${ctx}/plugins/adminLTE/css/AdminLTE.css">
</head>

<script>
    window.onload = function () {
        if (window.parent.window != window) {
            window.top.location = "/changePw.jsp";
        }
    }
</script>

<body class="hold-transition login-page">
<div class="login-box">
    <div class="login-logo">
        <a href="all-admin-index.html">SaaS外贸出口云平台</a>
    </div>
    <!-- /.login-logo -->
    <div class="login-box-body">
        <p class="login-box-msg">密码更改</p>
        <form action="${ctx}/system/user/changePw.do" method="post">
            <!-- 未登录状态  给出用户标识 -->
            <%--<c:if test="${sessionScope.loginUser == null}">--%>
            <input name="userId" type="hidden" value="${requestScope.userId}">
            <%--</c:if>--%>
            <div class="form-group has-feedback">
                <input type="password" id="smsCode" name="password" class="form-control" placeholder="新密码">
                <%--<span class="glyphicon glyphicon-lock form-control-feedback"></span>--%>
            </div>
            <div class="row">
                <div class="col-xs-4" >
                    <button type="submit" class="btn btn-primary btn-block btn-flat">确认</button>
                </div>
            </div>
        </form>
    </div>
</div>
<script src="${ctx}/plugins/jQuery/jquery-2.2.3.min.js"></script>
<script src="${ctx}/plugins/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>
